package com.bysj.lms.mapper;

import com.bysj.lms.pojo.vo.*;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.time.LocalDate;
import java.util.List;

@Repository
public interface StatisticsMapper {

    List<TCStatistics> getCS(@Param("term")String term, @Param("tname")String tname);

    BRStatistics getBRS(LocalDate startDate,LocalDate endDate);

    List<TBRStatistic> getTBRS(String uid,String uname,LocalDate startDate,LocalDate endDate);

    List<SBBRStatistics> sbbrStatistics(LocalDate startDate, LocalDate endDate);

    List<SBUseStatistics> sbUseStatistics(String name,Integer year,Integer term);

    WXStatistics wxStatistics(String startDate,String endDate);

    List<SBWXStatistics> sbwxStatistics(String startDate, String endDate);
}
